package com.yun.entity;

public class User {
	private int userId;
	private String userName;
	private String userPwd;
	private String role;
	private String phone;
	

	public User() {
		super();
	}

	public User(String userName, String userPwd, String phone) {
		this.userName = userName;
		this.userPwd = userPwd;
		this.phone = phone;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", role=" + role
				+ ", phone=" + phone + "]";
	}

}
